package mt.dummy;

import java.io.Serializable;

import mt.Order;
import mt.comm.ServerSideMessage;

public class ServerSideMessageDummy implements Serializable , ServerSideMessage  {
	
	/**
	 * Mensagens enviadas do cliente para o servidor
	 */
	private static final long serialVersionUID = 1L;
	private Type type;
	private String nick;
	private Order order;
	
	
	public ServerSideMessageDummy(Type type,String nick,Order order){
		this.type=type;
		this.nick=nick;
		this.order=order;
		
	}

	@Override
	public Type getType() {
	
		return type;
	}

	@Override
	public String getSenderNickname() {
		
		return nick;
	}

	@Override
	public Order getOrder() {
	
		return order;
	}

}
